<template>
    <div class="queryDiv">
        <label class="queryLabel">组织名称</label>
        <el-input v-model="queryInfo.organizationName" placeholder="请输入内容" style='width:200px'></el-input>
        <el-button @click="Refresh" type="primary">查询</el-button>
    </div>
</template>
<script>
export default {
    mounted() {
            this.ajax({
                url: 'SystemOrganization/GetNullData?dataType=2',
                success: function(data) {
                    this.queryInfo = data;
                    this.queryInfo.isLoadChild = true;
                }
            });
        },
        data() {
            return {
                queryInfo: {
                }
            }
        },
        methods: {
            Refresh() {
                if (this.$parent.queryInfo != undefined) {
                    this.$parent.queryInfo = JSON.parse(JSON.stringify(this.queryInfo));
                }
                this.$emit("Refresh");
            }
        }

}
</script>
<style scoped>
.queryLabel {
    font-size: 14px;
    margin: 0 6px 0 15px;
}

.queryDiv {
    margin: 10px 0;
}

.seachBtn {
    margin-left: 15px;
    height: 30px;
    line-height: 30px;
    padding: 0 15px;
}

.el-select {
    width: 180px;
}

.el-input__inner {
    height: 30px;
}
</style>
